// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/js/entry.js'
// 引用mescroll.JS
import '../static/js/mescroll.min.js'


/************路由左右切换配置***************/
router.goBack = function() {
    this.isBack = true;
　　window.history.go(-1);
}

Vue.config.productionTip = false;
window.router = router;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
